/************************************************************************

								Heroes IV
					  Copyright 2000, The 3DO Company

	------------------------------------------------------------------
  							   metatile_texture_cache.h

	$Header: /heroes4/metatile_texture_cache.h $

	$NoKeywords: $

 ************************************************************************/

#if !defined( METATILE_TEXTURE_CACHE_H_INCLUDED )
#define METATILE_TEXTURE_CACHE_H_INCLUDED

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "cached_ptr.h"

enum t_road_type;
enum t_terrain_type;
class t_metatile_texture;

typedef t_cached_ptr< t_metatile_texture > t_metatile_texture_ptr;

int get_metatile_texture_count( t_road_type road_type );
int get_metatile_texture_count( t_terrain_type terrain_type, int terrain_subtype );
t_metatile_texture_ptr get_metatile_texture( t_road_type road_type, int texture_num );
t_metatile_texture_ptr get_metatile_texture( t_terrain_type terrain_type, int terrain_subtype, int texture_num );

#endif // !defined( METATILE_TEXTURE_CACHE_H_INCLUDED )
